<template>
    <!-- 车辆购买页面 -->
    <view>
        <view class="wrap">
            <template v-for="(item, index) in list">
                <MmvBuyBasic :bizType="5" :item="item" :key="index"></MmvBuyBasic>
            </template>
        </view>
        <u-empty mode="search" v-if="!list.length" />
    </view>
</template>

<script>
import MmvBuyBasic from '@/components/card/mmv-buy-basic.vue';

export default {
    name: 'mmv-buy-basic-list',
    components: {
        MmvBuyBasic,
    },
    computed: {
        list() {
            return this.$store.state.home.MmvBuyBasicList || [];
        }
    },
}
</script>

<style lang="scss" scoped>
.wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
	padding:0upx 32upx;
}
</style>